package org.example.projecttwo.entity.dto.content.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "文章删除操作DTO")
public class ContentDeleteDTO {
    @NotNull(message = "删除原因不能为空")
    @Schema(description = "删除原因：1-内容违规，2-重复发布，3-作者申请，4-其他原因", example = "3")
    private Integer deleteReason;

    @NotBlank(message = "删除备注不能为空")
    @Schema(description = "删除备注说明", example = "作者主动申请删除")
    private String deleteRemark;
}